local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1
L0_1 = {}
L0_1.group_id = 133008117
L1_1 = {}
L2_1 = {}
L3_1 = 117012
L4_1 = 117013
L5_1 = 117014
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.branch_gadgets = L2_1
L2_1 = {}
L3_1 = 117011
L2_1[1] = L3_1
L1_1.main_gadget = L2_1
L2_1 = {}
L3_1 = 25
L2_1[1] = L3_1
L1_1.limit_time = L2_1
L1_1.puzzle_suit = 1
L1_1.group = 133008117
L2_1 = {}
L3_1 = 117015
L4_1 = 117016
L5_1 = 117017
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.mineral = L2_1
L1_1.challenge_gadget = 117018
L1_1.banner_region = 117045
L1_1.monster_count = 14
L1_1.time = 210
L2_1 = {}
L3_1 = 117001
L4_1 = 117002
L5_1 = 117003
L6_1 = 117004
L7_1 = 117005
L8_1 = 117006
L9_1 = 117007
L10_1 = 117008
L11_1 = 117009
L12_1 = 117010
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L1_1.monster_array = L2_1
L1_1.monster_min = 5
L1_1.monster_max = 5
L1_1.monster_count = 15
L1_1.target_point = 117019
L1_1.optimiz_region = 117044
L2_1 = {}
L3_1 = {}
L3_1.config_id = 117001
L3_1.monster_id = 21030501
L4_1 = {}
L4_1.x = 1467.013
L4_1.y = 267.206
L4_1.z = -644.418
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 324.081
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1007
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.climate_area_id = 1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 117002
L4_1.monster_id = 20010802
L5_1 = {}
L5_1.x = 1469.882
L5_1.y = 266.942
L5_1.z = -637.321
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 259.958
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1007
L7_1 = 1039
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L4_1.climate_area_id = 1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 117003
L5_1.monster_id = 21010901
L6_1 = {}
L6_1.x = 1461.701
L6_1.y = 267.355
L6_1.z = -645.767
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 11.245
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 1007
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.climate_area_id = 1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 117004
L6_1.monster_id = 20010802
L7_1 = {}
L7_1.x = 1467.396
L7_1.y = 267.056
L7_1.z = -633.408
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 199.907
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 1007
L9_1 = 1039
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.affix = L7_1
L6_1.climate_area_id = 1
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 117005
L7_1.monster_id = 22010201
L8_1 = {}
L8_1.x = 1467.549
L8_1.y = 267.095
L8_1.z = -638.08
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 295.026
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1007
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.climate_area_id = 1
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 117006
L8_1.monster_id = 21011401
L9_1 = {}
L9_1.x = 1459.226
L9_1.y = 266.973
L9_1.z = -632.486
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 112.628
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 1007
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.climate_area_id = 1
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 117007
L9_1.monster_id = 20010802
L10_1 = {}
L10_1.x = 1468.704
L10_1.y = 267.069
L10_1.z = -641.361
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 288.087
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L10_1 = {}
L11_1 = 1007
L12_1 = 1039
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L9_1.climate_area_id = 1
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 117008
L10_1.monster_id = 21011401
L11_1 = {}
L11_1.x = 1465.741
L11_1.y = 267.141
L11_1.z = -632.568
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 226.553
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L11_1 = {}
L12_1 = 1007
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.climate_area_id = 1
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 117009
L11_1.monster_id = 21010201
L12_1 = {}
L12_1.x = 1456.97
L12_1.y = 267.075
L12_1.z = -636.528
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 120.733
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L12_1 = {}
L13_1 = 1007
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.climate_area_id = 1
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 117010
L12_1.monster_id = 21020601
L13_1 = {}
L13_1.x = 1468.106
L13_1.y = 267.126
L13_1.z = -632.739
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 231.198
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L13_1 = {}
L14_1 = 1007
L13_1[1] = L14_1
L12_1.affix = L13_1
L12_1.climate_area_id = 1
L12_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 117011
L3_1.gadget_id = 70220079
L4_1 = {}
L4_1.x = 1461.37
L4_1.y = 267.254
L4_1.z = -639.56
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.persistent = true
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 117012
L4_1.gadget_id = 70220082
L5_1 = {}
L5_1.x = 1464.941
L5_1.y = 267.621
L5_1.z = -653.082
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 92.245
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 117013
L5_1.gadget_id = 70220082
L6_1 = {}
L6_1.x = 1484.448
L6_1.y = 266.077
L6_1.z = -631.039
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 156.035
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.persistent = true
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 117014
L6_1.gadget_id = 70220082
L7_1 = {}
L7_1.x = 1448.027
L7_1.y = 267.392
L7_1.z = -633.489
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 72.528
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.persistent = true
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 117015
L7_1.gadget_id = 70590025
L8_1 = {}
L8_1.x = 1490.503
L8_1.y = 266.553
L8_1.z = -660.537
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 22.837
L8_1.y = 68.448
L8_1.z = 346.868
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 117016
L8_1.gadget_id = 70590025
L9_1 = {}
L9_1.x = 1493.911
L9_1.y = 267.939
L9_1.z = -611.465
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 341.382
L9_1.y = 77.445
L9_1.z = 336.011
L8_1.rot = L9_1
L8_1.level = 30
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 117017
L9_1.gadget_id = 70590025
L10_1 = {}
L10_1.x = 1451.817
L10_1.y = 266.735
L10_1.z = -617.834
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 117018
L10_1.gadget_id = 70360324
L11_1 = {}
L11_1.x = 1461.37
L11_1.y = 267.254
L11_1.z = -639.56
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 117019
L11_1.gadget_id = 70360105
L12_1 = {}
L12_1.x = 1461.37
L12_1.y = 268.071
L12_1.z = -639.56
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 117020
L12_1.gadget_id = 70310015
L13_1 = {}
L13_1.x = 1448.793
L13_1.y = 269.426
L13_1.z = -645.218
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.area_id = 10
L13_1 = {}
L13_1.config_id = 117031
L13_1.gadget_id = 70360103
L14_1 = {}
L14_1.x = 1485.73
L14_1.y = 266.1
L14_1.z = -626.967
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 10
L14_1 = {}
L14_1.config_id = 117032
L14_1.gadget_id = 70360103
L15_1 = {}
L15_1.x = 1487.589
L15_1.y = 266.1
L15_1.z = -623.295
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 10
L15_1 = {}
L15_1.config_id = 117033
L15_1.gadget_id = 70360103
L16_1 = {}
L16_1.x = 1489.053
L16_1.y = 266.1
L16_1.z = -618.66
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 117043
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 50
L4_1 = {}
L4_1.x = 1461.37
L4_1.y = 267.254
L4_1.z = -639.56
L3_1.pos = L4_1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 117044
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 50
L5_1 = {}
L5_1.x = 1461.37
L5_1.y = 267.254
L5_1.z = -639.56
L4_1.pos = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 117045
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 60
L6_1 = {}
L6_1.x = 1461.318
L6_1.y = 269.346
L6_1.z = -639.57
L5_1.pos = L6_1
L5_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1117022
L3_1.name = "VARIABLE_CHANGE_117022"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_117022"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_117022"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1117023
L4_1.name = "GADGET_CREATE_117023"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_117023"
L4_1.action = "action_EVENT_GADGET_CREATE_117023"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1117028
L5_1.name = "SELECT_OPTION_117028"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_117028"
L5_1.action = "action_EVENT_SELECT_OPTION_117028"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1117029
L6_1.name = "CHALLENGE_SUCCESS_117029"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_117029"
L7_1 = {}
L7_1.config_id = 1117043
L7_1.name = "LEAVE_REGION_117043"
L8_1 = EventType
L8_1 = L8_1.EVENT_LEAVE_REGION
L7_1.event = L8_1
L7_1.source = "1"
L7_1.condition = "condition_EVENT_LEAVE_REGION_117043"
L7_1.action = "action_EVENT_LEAVE_REGION_117043"
L7_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "w1"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "w2"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "w3"
L5_1.value = 0
L5_1.no_refresh = false
L6_1 = {}
L6_1.configId = 4
L6_1.name = "lastID"
L6_1.value = 0
L6_1.no_refresh = false
L7_1 = {}
L7_1.configId = 5
L7_1.name = "killID"
L7_1.value = 0
L7_1.no_refresh = false
L8_1 = {}
L8_1.configId = 6
L8_1.name = "challenge_state"
L8_1.value = 0
L8_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 117021
L4_1.gadget_id = 70310017
L5_1 = {}
L5_1.x = 1466.444
L5_1.y = 269.15
L5_1.z = -654.513
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 117034
L5_1.gadget_id = 70360103
L6_1 = {}
L6_1.x = 1457.406
L6_1.y = 266.1
L6_1.z = -613.429
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 117035
L6_1.gadget_id = 70360103
L7_1 = {}
L7_1.x = 1456.703
L7_1.y = 266.1
L7_1.z = -608.783
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 117036
L7_1.gadget_id = 70360103
L8_1 = {}
L8_1.x = 1455.437
L8_1.y = 266.1
L8_1.z = -604.855
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 117037
L8_1.gadget_id = 70360103
L9_1 = {}
L9_1.x = 1456.652
L9_1.y = 266.1
L9_1.z = -600.52
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 117038
L9_1.gadget_id = 70360103
L10_1 = {}
L10_1.x = 1453.454
L10_1.y = 266.1
L10_1.z = -596.026
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 117039
L10_1.gadget_id = 70360103
L11_1 = {}
L11_1.x = 1448.619
L11_1.y = 266.1
L11_1.z = -594.308
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 117040
L11_1.gadget_id = 70310017
L12_1 = {}
L13_1 = 1478.975
L12_1.x = L13_1
L13_1 = 266.549
L12_1.y = L13_1
L13_1 = -640.948
L12_1.z = L13_1
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = GadgetState
L12_1 = L12_1.GearStart
L11_1.state = L12_1
L11_1.area_id = 10
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L5_1 = 1117024
L4_1.config_id = L5_1
L5_1 = "GADGET_STATE_CHANGE_117024"
L4_1.name = L5_1
L5_1 = EventType
L6_1 = "EVENT_GADGET_STATE_CHANGE"
L5_1 = L5_1[L6_1]
L4_1.event = L5_1
L4_1.source = ""
L5_1 = "condition_EVENT_GADGET_STATE_CHANGE_117024"
L4_1.condition = L5_1
L5_1 = "action_EVENT_GADGET_STATE_CHANGE_117024"
L4_1.action = L5_1
L5_1 = {}
L6_1 = 1117025
L5_1.config_id = L6_1
L6_1 = "GADGET_STATE_CHANGE_117025"
L5_1.name = L6_1
L6_1 = EventType
L7_1 = "EVENT_GADGET_STATE_CHANGE"
L6_1 = L6_1[L7_1]
L5_1.event = L6_1
L5_1.source = ""
L6_1 = "condition_EVENT_GADGET_STATE_CHANGE_117025"
L5_1.condition = L6_1
L6_1 = "action_EVENT_GADGET_STATE_CHANGE_117025"
L5_1.action = L6_1
L6_1 = {}
L7_1 = 1117026
L6_1.config_id = L7_1
L7_1 = "GADGET_STATE_CHANGE_117026"
L6_1.name = L7_1
L7_1 = EventType
L8_1 = "EVENT_GADGET_STATE_CHANGE"
L7_1 = L7_1[L8_1]
L6_1.event = L7_1
L6_1.source = ""
L7_1 = "condition_EVENT_GADGET_STATE_CHANGE_117026"
L6_1.condition = L7_1
L7_1 = "action_EVENT_GADGET_STATE_CHANGE_117026"
L6_1.action = L7_1
L7_1 = {}
L8_1 = 1117027
L7_1.config_id = L8_1
L8_1 = "VARIABLE_CHANGE_117027"
L7_1.name = L8_1
L8_1 = EventType
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L8_1 = "condition_EVENT_VARIABLE_CHANGE_117027"
L7_1.condition = L8_1
L8_1 = "action_EVENT_VARIABLE_CHANGE_117027"
L7_1.action = L8_1
L7_1.trigger_count = 0
L8_1 = {}
L9_1 = 1117030
L8_1.config_id = L9_1
L9_1 = "CHALLENGE_FAIL_117030"
L8_1.name = L9_1
L9_1 = EventType
L10_1 = "EVENT_CHALLENGE_FAIL"
L9_1 = L9_1[L10_1]
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L9_1 = "action_EVENT_CHALLENGE_FAIL_117030"
L8_1.action = L9_1
L8_1.trigger_count = 0
L9_1 = {}
L10_1 = 1117041
L9_1.config_id = L10_1
L10_1 = "GADGET_STATE_CHANGE_117041"
L9_1.name = L10_1
L10_1 = EventType
L11_1 = "EVENT_GADGET_STATE_CHANGE"
L10_1 = L10_1[L11_1]
L9_1.event = L10_1
L9_1.source = ""
L10_1 = "condition_EVENT_GADGET_STATE_CHANGE_117041"
L9_1.condition = L10_1
L9_1.action = ""
L9_1.trigger_count = 0
L10_1 = {}
L11_1 = 1117042
L10_1.config_id = L11_1
L11_1 = "GADGET_STATE_CHANGE_117042"
L10_1.name = L11_1
L11_1 = EventType
L12_1 = "EVENT_GADGET_STATE_CHANGE"
L11_1 = L11_1[L12_1]
L10_1.event = L11_1
L10_1.source = ""
L11_1 = "condition_EVENT_GADGET_STATE_CHANGE_117042"
L10_1.condition = L11_1
L11_1 = "action_EVENT_GADGET_STATE_CHANGE_117042"
L10_1.action = L11_1
L10_1.trigger_count = 0
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.triggers = L3_1
garbages = L2_1
L2_1 = "init_config"
L3_1 = {}
L4_1 = "suite"
L3_1[L4_1] = 1
L4_1 = "end_suite"
L3_1[L4_1] = 0
L4_1 = "rand_suite"
L3_1[L4_1] = false
_ENV[L2_1] = L3_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 117011
L7_1 = 117012
L8_1 = 117013
L9_1 = 117014
L10_1 = 117015
L11_1 = 117016
L12_1 = 117017
L13_1 = 117018
L14_1 = 117020
L15_1 = 117031
L16_1 = 117032
L17_1 = 117033
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 117043
L7_1 = 117045
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "VARIABLE_CHANGE_117022"
L7_1 = "GADGET_CREATE_117023"
L8_1 = "SELECT_OPTION_117028"
L9_1 = "CHALLENGE_SUCCESS_117029"
L10_1 = "LEAVE_REGION_117043"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L4_1.triggers = L5_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 117044
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L6_1 = "rand_weight"
L7_1 = 100
L5_1[L6_1] = L7_1
L3_1[1] = L4_1
L3_1[2] = L5_1
_ENV[L2_1] = L3_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = A1_2.param1
  L3_2 = A1_2.param2
  if L2_2 == L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 1 == L2_2 then
    L2_2 = A1_2.param1
    if 2 == L2_2 then
      L2_2 = A1_2.source_name
      if "puzzle_state" == L2_2 then
        goto lbl_18
      end
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_18::
  L2_2 = ScriptLib
  L2_2 = L2_2.PrintContextLog
  L3_2 = A0_2
  L4_2 = "\231\142\169\230\179\149\230\136\144\229\138\159 \229\136\155\229\187\186\233\154\144\229\189\162\230\147\141\228\189\156\229\143\176"
  L2_2(L3_2, L4_2)
  L2_2 = true
  return L2_2
end
condition_EVENT_VARIABLE_CHANGE_117022 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 117019
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_VARIABLE_CHANGE_117022 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = L1_1.challenge_gadget
  L3_2 = A1_2.param1
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_117023 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = L1_1.group
  L5_2 = L1_1.challenge_gadget
  L6_2 = {}
  L7_2 = 7
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_117023 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = L1_1.challenge_gadget
  L3_2 = A1_2.param1
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 7 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SELECT_OPTION_117028 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = L1_1.group
  L6_2 = L1_1.main_gadget
  L6_2 = L6_2[1]
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "\230\178\161\230\156\137\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\229\136\155\229\187\186\230\154\180\233\163\142\233\155\170"
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ActiveChallenge
    L3_2 = A0_2
    L4_2 = 1
    L5_2 = 2003010
    L6_2 = L1_1.time
    L7_2 = L1_1.group
    L8_2 = L1_1.monster_count
    L9_2 = 0
    L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ShowReminder
    L3_2 = A0_2
    L4_2 = 400098
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.CreateGadget
    L3_2 = A0_2
    L4_2 = {}
    L5_2 = L1_1.target_point
    L4_2.config_id = L5_2
    L2_2(L3_2, L4_2)
  else
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "\230\191\128\230\180\187\230\136\144\229\138\159\239\188\140\230\183\187\229\138\160\232\131\189\229\138\155"
    L2_2(L3_2, L4_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ActiveChallenge
    L3_2 = A0_2
    L4_2 = 1
    L5_2 = 2003014
    L6_2 = L1_1.time
    L7_2 = L1_1.group
    L8_2 = L1_1.monster_count
    L9_2 = 0
    L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
    L2_2 = ScriptLib
    L2_2 = L2_2.ShowReminder
    L3_2 = A0_2
    L4_2 = 400097
    L2_2(L3_2, L4_2)
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.DelWorktopOptionByGroupId
  L3_2 = A0_2
  L4_2 = L1_1.group
  L5_2 = L1_1.challenge_gadget
  L6_2 = 7
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AutoMonsterTide
  L3_2 = A0_2
  L4_2 = 1
  L5_2 = L1_1.group
  L6_2 = L1_1.monster_array
  L7_2 = L1_1.monster_count
  L8_2 = L1_1.monster_min
  L9_2 = L1_1.monster_max
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SELECT_OPTION_117028 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 117019
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_117029 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if L2_2 ~= 117043 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_LEAVE_REGION_117043 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.StopChallenge
  L3_2 = A0_2
  L4_2 = 1
  L5_2 = 0
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_LEAVE_REGION_117043 = L2_1
L2_1 = "require"
L2_1 = _ENV[L2_1]
L3_1 = "V2_3/WinterCampDevice"
L2_1(L3_1)
